﻿using System;

namespace LibraryManagementSystem.Models
{
    public class Fine
    {
        public int FineId { get; set; }
        public int UserId { get; set; }
        public int RecordId { get; set; }
        public decimal Amount { get; set; }
        public string Reason { get; set; }
        public string Status { get; set; } = "unpaid"; // unpaid, paid
        public DateTime CreatedAt { get; set; } = DateTime.Now;
        public DateTime? PaidAt { get; set; }
    }
}